package com.jfl.enums;

/**
 * 数据源类型枚举类
 * 
 * @author 赵炎
 * @version [V1.00, 2018年11月15日]
 * @since V1.00
 */
public enum DataSourceType
{
    ORACLE(1, "oracle"), MYSQL(2, "mysql"), MARIADB(3, "mariadb"), DB2(4, "db2"), SYBASE(5, "sybase");
    
    private int type;
    
    private String name;
    
    public int getType()
    {
        return type;
    }

    public void setType(int type)
    {
        this.type = type;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    private DataSourceType(int type, String name)
    {
        this.type = type;
        this.name = name;
    }
    
}
